<?
	require("template.php");

	printHeader( array("css/galleria.css"), "Our Story" );
?>

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.galleria.js"></script>
<script type="text/javascript">

$(document).ready(function(){
	
	$('.gallery_images').addClass('gallery_demo'); // adds new class name to maintain degradability
	$('.gallery_nav').css('display','none'); // hides the nav initially
	
	$('ul.gallery_demo').galleria({
		history   : false, // deactivates the history object for bookmarking, back-button etc.
		clickNext : false, // helper for making the image clickable. Let's not have that in this example.
		insert    : undefined, // the containing selector for our main image. 
							   // If not found or undefined (like here), galleria will create a container 
							   // before the ul with the class .galleria_container (see CSS)
		onImage   : function() { $('.gallery_nav').css('display','block'); } // shows the nav when the image is showing
	});
});

</script>

<div class="gallery">
	<ul class="gallery_images">
	    <li><img src="gallery/Engagementday.jpg" title="The Couple"></li>
	</ul>
	<p class="gallery_nav"><a href="#" onclick="$.galleria.prev(); return false;">previous</a> | <a href="#" onclick="$.galleria.next(); return false;">next</a></p>
</div>

<?
	printFooter();

?>
